<%@ page title="" language="C#" masterpagefile="~/RealtimeSite.master" autoeventwireup="true" inherits="EnrollFromPhoto, App_Web_kim3uyhp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">

    <style>
  .card [class*=card-header-]:not(.card-header-icon):not(.card-header-text):not(.card-header-image) {
    border-radius: 3px;
    margin-top: -20px;
    padding: 7px;
    padding-left: 10px;
}
.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
    padding: 4px 8px;
    vertical-align: middle;
    border-color: #ddd;
}
.container {
    max-width: 1215px !important;
    margin-left: 142px;
    margin-top: -76px;    
}
.table>tbody>tr>th
{
    color: #fff !important;
    background: #fb3406ba !important;
    border:0px !important;
}
.panel-heading
{
    padding:6px !important;
    font-size:13px;
}
.panel
{
    background:#eee !important;
}
#MainContent_lblDepartmentName
{
    font-size:14px;
    font-weight:600;
}
#Span1
{
    font-size:14px;
    font-weight:600;
}
#Span2
{
    font-size:14px;
    font-weight:600;
}
#Span3
{
    font-size:14px;
    font-weight:600;
}
.panel-heading
{
    background:#fb3406ba !important;
}
 .btn
 {
     font-size:11px !important;
 } 
 #MainContent_Label8
 {
     font-weight: bold;
    font-size: 14px;
 }

   .btn-success.disabled, .btn-success.disabled.active, .btn-success.disabled.focus, .btn-success.disabled:active, .btn-success.disabled:focus, .btn-success.disabled:hover, .btn-success[disabled], .btn-success[disabled].active, .btn-success[disabled].focus, .btn-success[disabled]:active, .btn-success[disabled]:focus, .btn-success[disabled]:hover, fieldset[disabled] .btn-success, fieldset[disabled] .btn-success.active, fieldset[disabled] .btn-success.focus, fieldset[disabled] .btn-success:active, fieldset[disabled] .btn-success:focus, fieldset[disabled] .btn-success:hover {
    color: #fff;
    background-color: #66bb6a;
    border-color: #66bb6a;
    }
        .auto-style1 {
            font-size: 13pt;
        }
  </style>
  
                <div class="container" id="usermanger12" runat="server">   
              
       
<div class="row dash-pane2" style="margin-left:0px; margin-right:0px;">	

<div class="card">
                <div class="card-header card-header-warning" id="cardheadergreen" runat="server">
                  <h4 class="card-title"><i class="fa fa-list fa-fw"></i>  
                      <asp:Label ID="Label1" runat="server" Text="Device Info"></asp:Label></h4>
   
                </div>
                <div class="card-body" style="height:450px;">
                <!---------User Manager----------->
                  <div class="row" style="margin-top:-12px;">
                    <div class="col-lg-4">
                                    <asp:Label ID="Label9" runat="server" Text="Devices:"></asp:Label>
                                    <asp:DropDownList ID="Device_List" runat="server" class="form-control" 
                                        OnSelectedIndexChanged="Device_List_SelectedIndexChanged" AutoPostBack="True">
                                    </asp:DropDownList>
                                    <%--<asp:TextBox ID="mTransIdTxt" runat="server" Visible="False" class="form-control" ></asp:TextBox>--%>
                      </div>
                      <div class="col-lg-2" style="margin-top:24px;">
                         <asp:Label ID="Label11" runat="server" Text="Serial No:  "></asp:Label>
                          <asp:Label ID="LDev_Name" runat="server"></asp:Label>
                          <asp:Label ID="UpdateTimeTxt" runat="server" Text=".." Visible="False"></asp:Label>
                      </div>
                      <div class="col-lg-2" style="margin-top:24px;">
                       <asp:Label ID="Label12" runat="server" Text="Connect Status:"></asp:Label>
                       <asp:Image ID="StatusImg" runat="server" Height="20px" ImageUrl="~/images/redon.png"
                                        Width="20px" />
                      </div>
                      <div class="col-lg-2" style="margin-top:18px;">
                      <i class="fa fa-plus;"></i>
                    <asp:Button ID="Button10" runat="server" type="button" Text="Connect " class="btn btn-success"
                        OnClick="Button1_Click1" />&nbsp;&nbsp;
                    &nbsp;&nbsp;
                        <i class="fa fa-trash-o;"></i>
                      </div>
                      <div class="col-lg-2" style="position:relative; top:35px;">
                       
                      </div>
                </div>
                <div class="row" style="margin-left:0px; margin-right:0px; margin-top:10px; display:none">
                 <div class="panel panel-primary" style="width:100%">
                <div class="panel-heading"><asp:Label ID="lblDeviceInfo" runat="server" Text="Device Info"></asp:Label></div>
                <div class="panel-body" style="padding-bottom:10px !important;">
                 <div class="row" style="padding-top:15px;">
                <div class="col-lg-4">
                                    <asp:Label ID="Label10" runat="server" Text="ID:  "></asp:Label>
                                    <asp:Label ID="LDev_ID" runat="server"></asp:Label>
                                </div>
                                <div class="col-lg-4">
                         
                                </div>
                      
                                <div class="col-lg-4">
                          
                                </div>
                </div>
                </div>
                </div>
                </div>

                <!-------End User Manager--------->


                
             

                <div class="row" style="margin-left:-15px; margin-right:-15px; margin-top:10px;">
                <div class="col-lg-12">
                  <div class="panel panel-primary">
                 <div class="panel-heading">
                     <asp:Label ID="Label2" runat="server" Text="Upload in Device"></asp:Label></div>
                  <div class="panel-body" style="padding-top:10px; padding-bottom:8px">
                  <div class="row">
                  <div class="col-lg-3">
                  <b><span id="MainContent_lblDepartmentName"> 
                      <asp:Label ID="Label3" runat="server" Text=" Enrollment  Id"></asp:Label></span></b>
                <asp:TextBox ID="txtuserid" runat="server" class="form-control"  ></asp:TextBox>
                      <asp:RegularExpressionValidator id="RegularExpressionValidator1"
                   ControlToValidate="txtuserid"
                   ValidationExpression="\d+"
                   Display="Static"
                   EnableClientScript="true"
                   ErrorMessage="Please enter numbers only"
                   runat="server"/>
                  </div>
 

                  <div class="col-lg-3">
                  <b><span id="Span1">
                      <asp:Label ID="txtusernamew" runat="server" Text=" Employee Name"></asp:Label></span></b>
                <asp:TextBox ID="txtusername" runat="server" class="form-control"></asp:TextBox>
                  </div>

                  <div class="col-lg-3">
                  <b><span id="Span1">
                      <asp:Label ID="Label4" runat="server" Text="Select Photo "></asp:Label></span></b>
                 <asp:FileUpload ID="FileUpload1" runat="server" Width="399px" />
                  </div>


                  <div class="col-lg-3">
                 <b><span id="Span2">
                     <asp:Label ID="Label5" runat="server" Text="Device Serial No" Visible="False"></asp:Label></span></b>
                 <asp:TextBox ID="deviceSRno" runat="server" class="form-control" Visible="False"></asp:TextBox>
                  </div>
                      </div>
                       
                      <br />
                       
                        <div class="panel-heading" style="background-color: #C0C0C0">
                            <strong><span class="auto-style1">Result Message :</span></strong> <asp:Label ID="StatusTxt" runat="server" Font-Bold="True"></asp:Label></div>
                            <asp:DropDownList ID="UserPriv" runat="server" Width="100px"  Visible="false"  >
                <asp:ListItem>USER</asp:ListItem>
                <asp:ListItem>MANAGER</asp:ListItem>
                <asp:ListItem>OPERATOR</asp:ListItem>
                <asp:ListItem Value="REGISTER">REGISTER</asp:ListItem>
            </asp:DropDownList>
                            

                            <asp:Label ID="mTransIdTxt" runat="server" Visible="False"></asp:Label>
                          
                            <asp:Label ID="Password" runat="server"></asp:Label>
                            <asp:Label ID="CardNum" runat="server"></asp:Label>
                            <asp:CheckBox ID="Face" runat="server" Checked="True" Visible="False" />
                            <asp:CheckBox ID="Fp" runat="server" Visible="False" />
                          
                           <%-- <div class="col-lg-6" style="padding-top:20px;">
                                <center>--%>
                                    <%--<asp:Button ID="Button2" runat="server" class="btn btn-success " OnClick="Button2_Click" Text="     Upload in Device" type="button" />--%>
                                <%--    <asp:Button ID="btnsetuser" runat="server" class="btn btn-success " onclick="btnsetuser_Click" Text="     Upload in Device" type="button"   style="visibility:hidden;" />--%>
                                   <%-- <asp:Button ID="Button1" runat="server" class=" btn btn-danger" onclick="Button1_Click" Text="Back" Width="140px" />--%>
                                   <%-- <asp:Image ID="UserPhoto" style="visibility:hidden;" runat="server" BorderColor="#666666" BorderWidth="2px" EnableTheming="False" EnableViewState="False" Height="175px" Width="154px"   />--%>
                                    

                                       <div class="row" style="margin-left:auto; margin-right:auto; display:table; margin-top:100px;">
                                           <asp:Button ID="Button3" runat="server" Text="Button" OnClick="Button3_Click" Visible="False" />
                    <asp:Button ID="Button2" runat="server" class="btn btn-success " OnClick="Button2_Click" Text="     Register In Device" type="button" /><i class="fa fa-plus;"></i>&nbsp;&nbsp;&nbsp;
        <asp:Button ID="Button1" runat="server" class=" btn btn-danger" onclick="Button1_Click" Text="Back" Width="140px" /><i  class="fa fa-trash-o;"></i>
                 </div>

                                 <asp:timer ID="Timer" runat="server" Interval="1000" OnTick="Timer_Watch" 
                    Enabled="false"></asp:timer>
                              <%--  </center>
                               
                                
                            </div>--%>
                          
               

                  </div>
                  </div>
                 </div>
                </div>
          
        
                  
                </div>

              


                </div>
              </div>
					
                    
				</div>
            
  
                           
 

     

 
            

</asp:Content>

